package com.ruoyi.ycl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料业务对象 ycl_bs_cl
 *
 * @author zyb
 * @date 2024-03-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsClBo extends BaseEntity {

    /**
     * 材料Id
     */
    @NotNull(message = "材料Id不能为空", groups = { EditGroup.class })
    private Long clId;

    /**
     * 厂家名称
     */
    @NotBlank(message = "厂家名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupName;

    /**
     * 材料类型
     */
    @NotBlank(message = "材料类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String clType;

    /**
     * 材料名称
     */
    @NotBlank(message = "材料名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String clName;


}
